import math
a, b, c = map(int, input().strip().split())
s = 0
for i in list(range(a, b+1)):
    if c % i == 0:
        s += 1
print(s)
